package com.zntg.bo;

import com.zntg.contants.FundFeneSureBookContants;
/**
* @Description:  保理类产品
 *@author zhengyunfei
 *@createDate Tue Dec 11 21:53:08 CST 2018
 */
public class BaoLiLeiProdBo implements java.io.Serializable{
 private String lBenserialNo;//--序号
 private String cFundCode;//产品ID
 private String cFundName;//产品名称
 private String lMandatorId;//管理人ID
 private String cCustName;//客户名称
 private String cCustType;//0：企业 1：个人 新增字段
 private String fBalance;//金额
 private String contractId;//合同编号
 private String fileName;//文件名
 private String endYear;//预计到期日 年
 private String endMth;//预计到期日 月
 private String endDay;//预计到期日 日
 private String createDateYear;//生成日 年
 private String createDateMth;//生成日 月
 private String createDateDay;//生成日  日

    public String getcCustType() {
        return cCustType;
    }

    public void setcCustType(String cCustType) {
        this.cCustType = cCustType;
    }

    public String getCreateDateYear() {
        return createDateYear;
    }

    public void setCreateDateYear(String createDateYear) {
        this.createDateYear = createDateYear;
    }

    public String getCreateDateMth() {
        return createDateMth;
    }

    public void setCreateDateMth(String createDateMth) {
        this.createDateMth = createDateMth;
    }

    public String getCreateDateDay() {
        return createDateDay;
    }

    public void setCreateDateDay(String createDateDay) {
        this.createDateDay = createDateDay;
    }

    public String getlBenserialNo() {
        return lBenserialNo;
    }

    public void setlBenserialNo(String lBenserialNo) {
        this.lBenserialNo = lBenserialNo;
    }

    public String getcFundCode() {
        return cFundCode;
    }

    public void setcFundCode(String cFundCode) {
        this.cFundCode = cFundCode;
    }

    public String getcFundName() {
        return cFundName;
    }

    public void setcFundName(String cFundName) {
        this.cFundName = cFundName;
    }

    public String getlMandatorId() {
        return lMandatorId;
    }

    public void setlMandatorId(String lMandatorId) {
        this.lMandatorId = lMandatorId;
    }

    public String getcCustName() {
        return cCustName;
    }

    public void setcCustName(String cCustName) {
        this.cCustName = cCustName;
    }

    public String getfBalance() {
        return fBalance;
    }

    public void setfBalance(String fBalance) {
        this.fBalance = fBalance;
    }

    public String getContractId() {
        return contractId;
    }

    public void setContractId(String contractId) {
        this.contractId = contractId;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getEndYear() {
        return endYear;
    }

    public void setEndYear(String endYear) {
        this.endYear = endYear;
    }

    public String getEndMth() {
        return endMth;
    }

    public void setEndMth(String endMth) {
        this.endMth = endMth;
    }

    public String getEndDay() {
        return endDay;
    }

    public void setEndDay(String endDay) {
        this.endDay = endDay;
    }

    public static FundFeneSureBook getFeneBook(BaoLiLeiProdBo bo){
     FundFeneSureBook book=new FundFeneSureBook();
     book.setUserName(bo.getcCustName());//客户名称
     book.setRgBigMoney(bo.getfBalance());//认购金额大写
     book.setRgSmallMoney(bo.getfBalance());//认购金额小写
     book.setHtNo(bo.getContractId());//合同编号
     book.setEndYear(bo.getEndYear());//到期年
     book.setEndMth(bo.getEndMth());//到期月
     book.setEndDay(bo.getEndDay());//到期日
     book.setCyType(FundFeneSureBookContants.CON_TYP_STATUS_02);
     book.setCreateDateYear(bo.getCreateDateYear());//底部盖章日期年
     book.setCreateDateMth(bo.getCreateDateMth());//底部盖章日期月
     book.setCreateDateDay(bo.getCreateDateDay());//底部盖章日期日
     book.setPkId(bo.getcFundCode());
     book.setFileName(bo.getFileName());//文件名称
     book.setProdNm(bo.getcFundName());//产品名称
     book.setProdId(bo.getcFundCode());//产品编码
     return book;
 }
}

